package com.lej.pay

import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import com.tencent.mm.opensdk.openapi.WXAPIFactory

class WXPayRegister : BroadcastReceiver() {
    override fun onReceive(context: Context, intent: Intent) {
        // 将该app注册到微信
        WXAPIFactory.createWXAPI(context, null).registerApp(BuildConfig.WX_APP_ID)
    }
}